package com.chen.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.chen.domain.SysUser;
import com.chen.dto.AdminUserDto;

import java.util.List;
import java.util.Map;

public interface SysUserService extends IService<SysUser> {


    /**
     * 分页查询员工列表
     *
     * @param page
     * @param mobile
     * @param fullname
     * @return
     */
    Page<SysUser> findList(Page<SysUser> page, String mobile, String fullname);

    /**
     * 新增员工
     *
     * @param sysUser
     */
    void saveUser(SysUser sysUser);

    /**
     * 编辑员工
     *
     * @param sysUser
     */
    void updateUser(SysUser sysUser);

    Map<Long, AdminUserDto> getAdminUser(List<Long> ids);

}
